set(LLVM_LINK_COMPONENTS
  Support
  )

add_clang_unittest(LexTests
  HeaderMapTest.cpp
  LexerTest.cpp
  PPCallbacksTest.cpp
  PPConditionalDirectiveRecordTest.cpp
  )

target_link_libraries(LexTests
  PRIVATE
  clangAST
  clangBasic
  clangLex
  clangParse
  clangSema
  )
